package com.duoec.dw.lineage.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 脚本文件信息
 *
 * @author xuwenzhen
 */
public class SqlScriptDto implements Serializable {
    /**
     * {脚本相对路径的md5值}_{version}
     */
    private String id;

    /**
     * 脚本意图
     */
    private String purpose;

    /**
     * 脚本路径（基于etl项目）
     */
    private String path;

    /**
     * 变更历史
     */
    private List<SqlScriptChangeLog> changeLogs;

    /**
     * 报警信息列表
     */
    private List<String> warnInfoList;

    /**
     * 提示信息列表
     */
    private List<String> infoInfoList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<SqlScriptChangeLog> getChangeLogs() {
        return changeLogs;
    }

    public void setChangeLogs(List<SqlScriptChangeLog> changeLogs) {
        this.changeLogs = changeLogs;
    }

    public List<String> getWarnInfoList() {
        return warnInfoList;
    }

    public void setWarnInfoList(List<String> warnInfoList) {
        this.warnInfoList = warnInfoList;
    }

    public List<String> getInfoInfoList() {
        return infoInfoList;
    }

    public void setInfoInfoList(List<String> infoInfoList) {
        this.infoInfoList = infoInfoList;
    }
}
